<table class="table  table-hover  m-b-none">
    <thead>
    <tr>
        <th width="70">UID</th>
        <th width="60">注册手机</th>
        <th width="50">姓名</th>
        <th width="60">身份证号</th>
        <th width="100">身份证正面图片</th>
        <th width="100">身份证背面图片</th>
        <!--<th width="90">注册时间</th>-->
        <!--<th width="90">审核时间</th>-->
        <th width="70">状态</th>
        <th width="110">审核操作</th>
    </tr>
    </thead>
    <tbody>

    {volist name="data.list" id="vo" }
    <tr>
        <td>{$vo.user_id}</td>
        <td>{$vo.mobile}</td>
        <td>{$vo.real_name}</td>
        <td>{$vo.id_card_number}</td>
        <td class="image-list"><img src="{$vo.id_card_positive}" style="width:100%; height: 30px"></td>

        <td class="image-list"><img src="{$vo.id_card_back}" style="width:100%; height: 30px"></td>

        <td>未审核</td>
        <td>
            <a href="javascript:;" class="m-xs" onclick="getTeamList({$vo['user_id']},1)"  title="审核通过">
                通过
            </a>
            <a href="javascript:;" class="m-xs" onclick="getTeamList({$vo['user_id']},3)"
               title="审核失败">
                失败
            </a>
        </td>
    </tr>

    {/volist}
    </tbody>
</table>
{empty name="data.list"}
<table width="100%">
    <tr>
        <td height="300" colspan="8" align="center" valign="middle">没有相关数据！</td>
    </tr>
</table>
{/empty}


<script>
    function getTeamList(user, type) {
        $.ajax({
            async: false,
            type: "POST",
            url: '/lzadmin.php/channel/sys_admin.users/checkidcard.html',
            data: {
                user_id: user,
                check_id_card: type
            }
        }).done(function (res) {
            return _alert("操作成功",true,'/lzadmin.php/channel/sys_admin.users/waitcheckidcard.html');
        });
    }
</script>